From bc4d333990e03cd5e9143cb25c8c8dd233e65348 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 16 Jun 2006 13:45:51 +0000 Subject: [PATCH] Mark preview filename as translatable. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkprintoperation-unix.c | 7 ++++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ec97bd71a..d93482da74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-16 Matthias Clasens + + * gtk/gtkprintoperation-unix.c: Mark the preview filename + as translatable (#345093, Christian Persch) + Fri Jun 16 11:49:53 2006 Tim Janik * fixed #337882 by applying patches from Tommi Komulainen: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3ec97bd71a..d93482da74 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-06-16 Matthias Clasens + + * gtk/gtkprintoperation-unix.c: Mark the preview filename + as translatable (#345093, Christian Persch) + Fri Jun 16 11:49:53 2006 Tim Janik * fixed #337882 by applying patches from Tommi Komulainen: diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c index 7ae019989e..69676c3b60 100644 --- a/gtk/gtkprintoperation-unix.c +++ b/gtk/gtkprintoperation-unix.c @@ -587,10 +587,11 @@ _gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation /* use temp dirs because apps like evince need to have extensions * to determine the mime type */ - tmp_dir = mkdtemp(dir_template); + tmp_dir = mkdtemp (dir_template); + /* print preview pdf filename (please leave the trailing .pdf in place) */ preview_filename = g_build_filename (tmp_dir, - "Print Preview.pdf", - NULL); + _("Print Preview.pdf"), + NULL); g_free (dir_template); *target = preview_filename; -- 2.30.2